package game.event;

import game.Player;

/**
 * The event about changing money of player.
 * 
 * @author Sarun Wongtanakarn 5510546166
 * @author Apiwat Jierakulpanit 5510546212
 * @Version 2013.05.01
 */
public class MoneyEvent implements StatusEvent {

	/** The value of changing. */
	int change;
	
	@Override
	public void addEvent(int change) {
		this.change += change;
	}

	@Override
	public void takeAction(Player player) {
		player.changeMoney(change);
		
	}
	
}
